import { Component } from 'react';
import Child1 from './Child1'; 

export default class StateTest extends Component {
	state = {
		msg1: 1,
		msg2: 1,
		msg3: 1,
		msg4: 1,
		msg5: 1,
	}
	// 渲染函数
    render() {
    	return (
			<div>
				<span>{this.state.msg1}</span>
				<Child1></Child1>
			</div>
		);
    }
};
